import java.util.Scanner;

public class demo05 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入一个年份");
        int y=sc.nextInt();
        if ((y%4==0 && y%100!=0)||y%400==0){
            System.out.println("该年份为闰年");
        }else{
            System.out.println("该年份为平年");
        }
    }
}
